package com.ruoyi.warning.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenhc
 * @since 2025-04-01
 */
@Data
@TableName("region")
@ApiModel("区域")
public class Region implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    /**
     * 1展示0不展示
     */
    private Integer indexShow;

    /**
     * 没有为-1
     */
    private Integer parentId;

    private Integer level;

    private Integer sort;
}
